# Maintainer: David Runge <dvzrv@archlinux.org>
# Contributor: speps <speps at aur dot archlinux dot org>

pkgname=smplayer-skins
pkgver=20.11.0
pkgrel=2
epoch=1
pkgdesc="Skins for SMPlayer"
arch=(any)
url="https://smplayer.info"
license=(
  CCPL
  GPL2
  LGPL3
)
depends=(smplayer)
source=(https://downloads.sourceforge.net/smplayer/$pkgname-$pkgver.tar.bz2)
sha512sums=('a52464b3b0aca82caf3762fde0ad7f1084e7e37b936f97d05f758554f84188cee11cb4d4630575ec10ed3970f0b77bceabb3f90fe4e43ff7d29b5c2725741a7d')
b2sums=('fcc319aa46802297883bab74d66a4af6a4df9cc2404597e9de7e132f055a66a35f6dac3dcefa5d315e0a8debf61b81118e6b9118b52c4cc999a06a63ea3e8145')

build() {
  make PREFIX=/usr -C $pkgname-$pkgver
}

package() {
  make DESTDIR="$pkgdir/" PREFIX=/usr install -C $pkgname-$pkgver
  install -vDm 644 $pkgname-$pkgver/{README.txt,Changelog} -t "$pkgdir/usr/share/doc/$pkgname/"
}
